package com.fowo.api.sys.model;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.Size;

@Schema(title = "重置密码")
@Data
public class ResetPassword {
    @NotEmpty
    @Size(min = 6)
    @Schema(title = "密码")
    private String password;

    private String confirmPassword;
}
